<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>confirm()的用法</title>
</head>
<body>

   <script type="text/javascript">
        //confirm():消息确认框，确认返回true,取消返回false
        var bln = confirm('确认取消订单吗');
        confirm(bln);


   </script>
	
</body>
</html>